package com.jhk;

public class ThreadClass extends Thread{
	private String str;
	public ThreadClass(String s){
		str=s;
	}

	public void run(){
		for(int i=1; i<=10; i++){
			System.out.println(str+":"+i);
		}
	}

}
